from audioop import reverse

list1.sort()
print(list1)
list1.reverse()
print(list1)
list1.sort(reverse=True)

list3=[14,22,3,4,5]
list4=sorted(list3)
sorted(list3)
print(list3)
print(list4)

num=list4.pop()
print(num)
print(list4)